{foreach $counterArr as $key=>$value} {if $key == 1} غير مكرر {else} مكرر{$key} {/if} {$value.counter} {/foreach}